﻿using System.Collections.Generic;

namespace Kaiser.Models.ViewModels
{
    public class ViewModelItemItems<T, K> : ViewModelItem<T>
    {

        #region Constructors

        public ViewModelItemItems(T item, IEnumerable<K> items)
            : base(item)
        {
            Items = items;
        }

        public ViewModelItemItems(T item, IEnumerable<K> items, ViewModel viewModel)
            : base(item)
        {
            SyncViewModel(viewModel);
            Items = items;
        }

        #endregion

        public IEnumerable<K> Items { get; private set; }
    }
}
